colorpicker: Fix gcc warning
authorBenjamin Otte <otte@redhat.com>
Tue, 31 Jul 2018 05:24:45 +0000 (07:24 +0200)
committerBenjamin Otte <otte@redhat.com>
Tue, 31 Jul 2018 20:34:27 +0000 (22:34 +0200)
gtk/gtkcolorpicker.c

index d57ffe016e9940d4782d9fee68602c0177f3a69b..16055e144ccfdc88aa39d48a055f827dc8782ddc 100644 (file)
@@ -59,7 +59,7 @@ gtk_color_picker_new (void)
     picker = gtk_color_picker_shell_new ();
 
   if (picker)
-    g_debug ("Using %s for picking colors", g_type_name_from_instance (picker));
+    g_debug ("Using %s for picking colors", G_OBJECT_TYPE_NAME (picker));
   else
     g_debug ("No suitable GtkColorPicker implementation\n");